package cz.boxdesign.library.common.dao;

public interface CommonObjectDao {

	public boolean isAccountExpired(Integer id) throws DatabaseOperationException;

	public void prolongAccount(Integer id) throws DatabaseOperationException;

	public boolean isLoginAvailabel(String login) throws DatabaseOperationException;

	public void borrowReservedBook(Integer user, Integer book);
	
	public boolean isPublisherNameAvailable(String name);

}
